import { IObject, udp } from '@cscec/udp-mobile-ui';


/**
 * 获取句子详情
 * @param param 参数
 * @returns
 */
export async function queryDetail(param) {
    try {
        const { code, data } = await udp.request.get({
            url: '/api/sentence/queryDetail',
            data: param
        });
        return code === 200 ? data : '报错信息';
    } catch (e) {
        return "报错信息"
    }
}